//灰色背景
import React from 'react';
import "./index.css";

export default class LabelInput extends React.Component{
    constructor (props){
        super();
        this.state={
            title:props.title,
            data:props.data
        }
    }
    render(){
        return(
            <div className="LabelInput_Type_MA">
                    <span className="LabelInput_MA_Title">{this.state.title}</span>
                    <span className="LabelInput_MA_Body">
                        {this.state.data}
                    </span>
             </div>
        );
    }
}
